import os
import openai

openai.api_key=os.environ["OPENAI_API_KEY_ZHIHU"]
openai.api_base=os.environ["OPENAI_API_BASE_ZHIHU"]

messages = [
    {
    "role":"user",
    "content":"请帮我定一个关于大模型prompt的课程框架。"
}]

model = "gpt-3.5-turbo-0613"
chatClient = openai.ChatCompletion.create(model=model,messages=messages,temperature=0)
responseText = chatClient.choices[0].message["content"]
print(responseText)